package com.mtw.bbs.bbsUser.pojo.form;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;


@Data
@ApiModel("用户表单")
public class UserForm {


	@ApiModelProperty(value = "主键")
	private String id;

	@ApiModelProperty(value = "邮箱")
	private String email;

	@ApiModelProperty(value = "手机")
	private String phone;

	@ApiModelProperty(value = "昵称")
	private String displayName;

	@ApiModelProperty(value = "头像")
	private String avatar;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd")
	@ApiModelProperty(value = "生日")
	private Date birthday;

	@ApiModelProperty(value = "性别，（1是男，0为女）")
	private Integer sex;

	@ApiModelProperty(value = "星座")
	private String constellation;

	@ApiModelProperty(value = "签名")
	private String introduction;

	@ApiModelProperty(value = "地区")
	private String address;

	@ApiModelProperty(value = "评论状态")
	private Integer commentStatus;

	@ApiModelProperty(value = "业务状态")
	private Integer status;

	@ApiModelProperty(value = "用户角色id")
	private List<String> role;


}
